﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DE1 RID: 3553
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RecoverAllLineupScRsp : IMessage<RecoverAllLineupScRsp>, IMessage, IEquatable<RecoverAllLineupScRsp>, IDeepCloneable<RecoverAllLineupScRsp>, IBufferMessage
	{
		// Token: 0x17002D11 RID: 11537
		// (get) Token: 0x06009F5C RID: 40796 RVA: 0x001A9EF8 File Offset: 0x001A80F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RecoverAllLineupScRsp> Parser
		{
			get
			{
				return RecoverAllLineupScRsp._parser;
			}
		}

		// Token: 0x17002D12 RID: 11538
		// (get) Token: 0x06009F5D RID: 40797 RVA: 0x001A9EFF File Offset: 0x001A80FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RecoverAllLineupScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002D13 RID: 11539
		// (get) Token: 0x06009F5E RID: 40798 RVA: 0x001A9F11 File Offset: 0x001A8111
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RecoverAllLineupScRsp.Descriptor;
			}
		}

		// Token: 0x06009F5F RID: 40799 RVA: 0x001A9F18 File Offset: 0x001A8118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RecoverAllLineupScRsp()
		{
		}

		// Token: 0x06009F60 RID: 40800 RVA: 0x001A9F20 File Offset: 0x001A8120
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RecoverAllLineupScRsp(RecoverAllLineupScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009F61 RID: 40801 RVA: 0x001A9F45 File Offset: 0x001A8145
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RecoverAllLineupScRsp Clone()
		{
			return new RecoverAllLineupScRsp(this);
		}

		// Token: 0x17002D14 RID: 11540
		// (get) Token: 0x06009F62 RID: 40802 RVA: 0x001A9F4D File Offset: 0x001A814D
		// (set) Token: 0x06009F63 RID: 40803 RVA: 0x001A9F55 File Offset: 0x001A8155
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06009F64 RID: 40804 RVA: 0x001A9F5E File Offset: 0x001A815E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RecoverAllLineupScRsp);
		}

		// Token: 0x06009F65 RID: 40805 RVA: 0x001A9F6C File Offset: 0x001A816C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RecoverAllLineupScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009F66 RID: 40806 RVA: 0x001A9F9C File Offset: 0x001A819C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009F67 RID: 40807 RVA: 0x001A9FDB File Offset: 0x001A81DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009F68 RID: 40808 RVA: 0x001A9FE3 File Offset: 0x001A81E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009F69 RID: 40809 RVA: 0x001A9FEC File Offset: 0x001A81EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009F6A RID: 40810 RVA: 0x001AA020 File Offset: 0x001A8220
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009F6B RID: 40811 RVA: 0x001AA05E File Offset: 0x001A825E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RecoverAllLineupScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009F6C RID: 40812 RVA: 0x001AA08F File Offset: 0x001A828F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009F6D RID: 40813 RVA: 0x001AA098 File Offset: 0x001A8298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003D72 RID: 15730
		private static readonly MessageParser<RecoverAllLineupScRsp> _parser = new MessageParser<RecoverAllLineupScRsp>(() => new RecoverAllLineupScRsp());

		// Token: 0x04003D73 RID: 15731
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003D74 RID: 15732
		public const int RetcodeFieldNumber = 9;

		// Token: 0x04003D75 RID: 15733
		private uint retcode_;
	}
}
